//
//  XFTempViewController.m
//  SinaBlog_OC
//
//  Created by macs on 15/11/17.
//  Copyright © 2015年 BlackTail. All rights reserved.
//

#import "XFTempViewController.h"

@interface XFTempViewController ()

@end

@implementation XFTempViewController

- (void)viewDidLoad {
  [super viewDidLoad];
  // Do any additional setup after loading the view.
  self.view.backgroundColor =
      [UIColor colorWithRed:((float)arc4random_uniform(256) / 255.0)
                      green:((float)arc4random_uniform(256) / 255.0)
                       blue:((float)arc4random_uniform(256) / 255.0)
                      alpha:1.0];
}

- (void)didReceiveMemoryWarning {
  [super didReceiveMemoryWarning];
  // Dispose of any resources that can be recreated.
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {

  XFTempViewController *temp = [[XFTempViewController alloc] init];

  [self.navigationController pushViewController:temp animated:YES];
}

@end
